package com.yunfangdata.mapper;

import com.yunfangdata.domain.Test;
import com.yunfangdata.query.QueryObject;

import java.util.List;

public interface TestMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Test record);

    Test selectByPrimaryKey(Long id);

    List<Test> selectAll();

    int updateByPrimaryKey(Test record);



    int queryForCount(QueryObject qo);

    /**
     *
     * @param qo
     * @return
     */
    List<Test> queryForList(QueryObject qo);


    void changeState(Long id);
}